#ifndef SETTINGS_H
#define SETTINGS_H

#include <QWidget>
//#include <QLineEdit>

class qmainview;
class SingleMainView;
class QLineEdit;
class QLayout;

///仓库设置工具箱
class settings : public QWidget
{
    Q_OBJECT
public:
    explicit settings(QWidget *parent = nullptr);

signals:

public slots:
    void loadMain();
    void loadMain(QString root, QString work);
    void setWorkDir();
    void setRootDir();

private:
    QLayout* initLayout();

private:
    qmainview* _qmv;
    SingleMainView* _smv;

    QLineEdit* _rootdir;
    QLineEdit* _workdir;
};

#endif // SETTINGS_H
